package com.shuhua.taskServer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shuhua.pojo.entity.Announcement;

import java.util.Date;
import java.util.List;

public interface AnnouncementService extends IService<Announcement> {
    Announcement getById(Long id);
    List<Announcement> searchByTitle(String title);
    List<Announcement> filterByDate(String type); // type: today/week/month
}